home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- _X = _root.fake._x;
- _Y = _root.fake._y - 5;
- if(_root.car.jet)
- {
- if(_root.fuel > 0)
- {
- if(Key.isDown(38))
- {
- _visible = true;
- if(!sound)
- {
- if(_root.sound)
- {
- _root.steam.start(0,99999);
- sound = true;
- }
- }
- }
- }
- }
- if(!Key.isDown(38) or _root.fuel < 0 or !_root.car.jet)
- {
- _visible = false;
- _root.steam.stop();
- sound = false;
- }
- if(_root.gravityType == "reverse")
- {
- _rotation = 180;
- }
- else
- {
- _rotation = 0;
- }
- }
-